﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess_Layer
{
    public class NhaVanChuyen_DAC
    {
        public static void delete(List<long> deletedIDs)
        {
            foreach (long deletedID in deletedIDs)
            {
                NhaVanChuyen tg = DataAccessHelper.DB.NhaVanChuyens.Where(t => t.ID == deletedID).Select(t => t).First();
                DataAccessHelper.DB.NhaVanChuyens.DeleteOnSubmit(tg);
            }
            DataAccessHelper.Save();
        }
    }
}
